home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / 7Edit 3.1 / Sources / SVAESelect.h < prev    next >
Encoding:
Text File  |  1995-11-20  |  901 b   |  35 lines  |  [TEXT/CWIE]

  1. // SVAESelect.h
  2. //
  3. // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
  4. // 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1995, all rights reserved.
  6.  
  7. #ifndef __SVAESELECT__
  8. #define __SVAESELECT__
  9.  
  10. #include <AppleEvents.h>
  11. #include <AEObjects.h>
  12. #include <AERegistry.h>
  13.  
  14. #include "SVToken.h"
  15.  
  16. pascal OSErr    DoSelect(const AppleEvent *theAppleEvent, AppleEvent *reply, long refcon);
  17.  
  18. OSErr            SelectWindowToken(WindowToken* theToken);
  19. OSErr            SelectWindowDesc(AEDesc* windowDesc);
  20.  
  21. OSErr            SelectTextToken(TextToken* theToken);
  22. OSErr            SelectTextDesc(AEDesc* textDesc);
  23.  
  24. OSErr            SelectDesc(const AEDesc* aDesc, AEDesc* result);
  25.  
  26. OSErr            GetWindowSelection(WindowPtr aWindow, TextToken* resultToken,
  27.                                                                 short* resultLength);
  28. OSErr            UpdateSelectionToken(TextToken* anInsertToken, TextToken* aSelectionToken,
  29.                                                         short oldLength, short* insertLength);
  30.  
  31. #endif
  32.  
  33.  
  34.  
  35.